DioDocs for PDF
ToIndexed8bppBitmap(UInt32[],DitheringMethod,Boolean) メソッド

GrapeCity.Documents.Imaging アセンブリ > GrapeCity.Documents.Imaging 名前空間 > GcBitmap クラス > ToIndexed8bppBitmap メソッド : ToIndexed8bppBitmap(UInt32[],DitheringMethod,Boolean) メソッド
The palette with opaque colors for the new image (colors are in 32-bit ARGB format). Elements with index 256 and above are ignored.
The method of two-dimensional error diffusion dithering.
Indicates if a transparent color should be added to the palette, if the image is not opaque and the number of opaque colors is less than 256.
Creates an opaque Indexed8bppBitmap from the current image using the specified palette.
シンタックス
'宣言
 
Public Overloads Function ToIndexed8bppBitmap( _
   ByVal palette() As System.UInteger, _
   ByVal ditheringMethod As DitheringMethod, _
   Optional ByVal appendTransparentColor As System.Boolean _
) As Indexed8bppBitmap
public Indexed8bppBitmap ToIndexed8bppBitmap( 
   System.uint[] palette,
   DitheringMethod ditheringMethod,
   System.bool appendTransparentColor
)

パラメータ

palette
The palette with opaque colors for the new image (colors are in 32-bit ARGB format). Elements with index 256 and above are ignored.
ditheringMethod
The method of two-dimensional error diffusion dithering.
appendTransparentColor
Indicates if a transparent color should be added to the palette, if the image is not opaque and the number of opaque colors is less than 256.

戻り値の型

A new instance of Indexed8bppBitmap.
参照

GcBitmap クラス
GcBitmap メンバ
オーバーロード一覧